package com.dragon.www.smarthome.model.xml;

import java.util.ArrayList;
import java.util.List;

/**
 * 字典表组项
 * Created by Administrator on 2015/11/20 15:09.
 * Author: songxy
 * Email: thinkdata@163.com
 */
public class DictionaryGroupItem {

	private String groupName;

	private int groupActionLength;

	private byte[] groupActionValue;

	List<DictionaryItem> items = new ArrayList<>();

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public int getGroupActionLength() {
		return groupActionLength;
	}

	public void setGroupActionLength(int groupActionLength) {
		this.groupActionLength = groupActionLength;
	}

	public byte[] getGroupActionValue() {
		byte[] result = new byte[groupActionLength];
		System.arraycopy(groupActionValue, 0, result, 0, groupActionLength);
		return result;
	}

	public void setGroupActionValue(byte[] groupActionValue) {
		this.groupActionValue = groupActionValue;
	}
}
